package com.yq.model.po;

public class Spec {

    private Integer id;
    private String name;
    private Integer goodsid;
    private Double price;
    private Integer stocknum;

    public Spec() {
    }

    public Spec(Integer id, String name, Integer goodsid, Double price, Integer stocknum) {
        this.id = id;
        this.name = name;
        this.goodsid = goodsid;
        this.price = price;
        this.stocknum = stocknum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStocknum() {
        return stocknum;
    }

    public void setStocknum(Integer stocknum) {
        this.stocknum = stocknum;
    }
}
